Crate arweave_rs_indexes
source ·Expand description
Implementation of indexes for caching network state (and the modules that initialize them from the Arweave peers).
Modules§
- Manages a list of
{block_hash, weave_size, tx_root}
entries, indexed by block height. - Populates the
BlockIndex
from an arweave peer using the/block_index
endpoint.
Structs§
- Stores an index of
{block_hash, weave_size, tx_root}
entries for each of Arweaves’ blocks. Implemented using the type state pattern which hasInitialized
andUninitialized
states that are checked at compile time. - This struct represents the
Initialized
type state. - This struct represents the
Uninitialized
type state.